package com.wealth.cart.entity;

import java.io.Serializable;
import java.util.List;

import com.wealth.merchant.entity.Activity;
import com.wealth.merchant.entity.Merchant;

public class CartGoodsInfo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Merchant merchant;//商户
	private Activity activity;//商户活动
	
	private List<CartItem> list;//商品
	
	private double totalPrice; //总价格
	
	private int totalAmount;//总数量
	 
	public Activity getActivity() {
		return activity;
	}

	public void setActivity(Activity activity) {
		this.activity = activity;
	}

	public Merchant getMerchant() {
		return merchant;
	}

	public void setMerchant(Merchant merchant) {
		this.merchant = merchant;
	}

	public List<CartItem> getList() {
		return list;
	}

	public void setList(List<CartItem> list) {
		this.list = list;
	}

  
	public double getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(double totalPrice) {
		this.totalPrice = totalPrice;
	}

	public int getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(int totalAmount) {
		this.totalAmount = totalAmount;
	}

	 
}
